﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Classic.Master" Inherits="ModelViewPage<WorkerUserModifyPasswordDto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Zmień hasło
    </h2>
    <% Html.BeginForm(); %>
    <fieldset class="form">
        <%=Html.IfValidationFail() %>
        <div>
            <%=this.Password(w=>w.Password).Label("Hasło:") %>
            <%=this.ValidationMessage(w=>w.Password) %>
        </div>
        <div>
            <%=this.Password(w=>w.RepeatedPassword).Label("Powtórz hasło:") %>
            <%=this.ValidationMessage(w=>w.RepeatedPassword) %>
        </div>
        <%=this.Hidden(w=>w.Id) %>
        <div class="form-buttons">
            <%=this.SubmitButton("Ok") %>
            <%=this.ResetButton("Reset") %>
        </div>
    </fieldset>
    <% Html.EndForm(); %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
